<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<div th:fragment="layuiHeader">
    <!-- 头部区域 -->
    <ul class="layui-nav layui-layout-left" lay-filter="refresh">
        <!--<li class="layui-nav-item layadmin-flexible" lay-unselect="">
            <a href="javascript:;" title="侧边伸缩" lay-event="flexible">
                <i class="layui-icon layui-icon-shrink-right"></i>
            </a>
        </li>-->
        <li class="layui-nav-item" lay-unselect>
            <a href="javascript:;" title="刷新" lay-event="refresh">
                <i class="layui-icon layui-icon-refresh-3"></i>
            </a>
        </li>
        <span class="layui-nav-bar"></span>
    </ul>

    <ul class="layui-nav layui-layout-right" lay-filter="opts">
        <li class="layui-nav-item" lay-unselect>
            <a lay-href="app/message/" title="站内消息">
                <i class="layui-icon layui-icon-notice"></i>
                <!-- 是否有新消息 -->
                <!--<span class="layui-badge-dot"></span>-->
            </a>
        </li>
        <li class="layui-nav-item" >
            <a href="javascript:;">
                <!--<img th:src="${user.portrait}" alt="头像" class="layui-nav-img">-->
                <cite th:text="${user.userAlias}"></cite>
            </a>
            <dl class="layui-nav-child">
                <!--<dd><a href="#">基本资料</a></dd>-->
                <dd><a lay-event="resetPass" lay-href="user/resetPass">修改密码</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a href="/logout">退出</a></li>
    </ul>
</div>
</html>